package com.ihrm.system.dao;

import com.ihrm.domain.system.Role;
import com.ihrm.domain.system.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@CrossOrigin
@RestController
@RequestMapping("/sys")
public interface RoleDao extends JpaRepository<Role,String>,JpaSpecificationExecutor<User> {
}
